Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

froala-editor

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

froala-editor

A beautiful Javascript WYSIWYG HTML rich text editor made by devs for devs. High performance and modern design make it easy to use for developers and loved by users.

  • 2.9.8
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is froala-editor?

Froala Editor is a lightweight WYSIWYG HTML Editor written in JavaScript that enables rich text editing capabilities for web applications. It is designed to be easy to integrate and offers a wide range of features including text formatting, image and video embedding, and more.

What are froala-editor's main functionalities?

Text Formatting

This feature allows users to format text with options like bold, italic, underline, and more. The code sample initializes the Froala Editor with a toolbar that includes these text formatting options.

const FroalaEditor = require('froala-editor');
new FroalaEditor('#editor', {
  toolbarButtons: ['bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript']
});

Image Upload

This feature enables users to upload images directly into the editor. The code sample shows how to configure the editor to upload images to a specified URL.

const FroalaEditor = require('froala-editor');
new FroalaEditor('#editor', {
  imageUploadURL: '/upload_image'
});

Video Embedding

This feature allows users to embed videos within the editor. The code sample demonstrates how to enable video embedding in the Froala Editor.

const FroalaEditor = require('froala-editor');
new FroalaEditor('#editor', {
  videoUpload: true
});

Custom Toolbar

This feature allows customization of the toolbar to include only the desired buttons. The code sample shows how to initialize the editor with a custom toolbar that includes buttons for text formatting, image insertion, and video insertion.

const FroalaEditor = require('froala-editor');
new FroalaEditor('#editor', {
  toolbarButtons: ['bold', 'italic', 'underline', 'insertImage', 'insertVideo']
});

Other packages similar to froala-editor

Keywords

FAQs

Package last updated on 30 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc